package com.ws.shop.entity;

import java.util.Date;

public class Transaction extends BaseEntity{
	
	private long id ;//     ` long(11) NOT NULL auto_increment,                               
	private int uid; //    ` long(11) NOT NULL,                                              
	private String name ; //    ` varchar(255) NOT NULL,                                         
	private String payment ;// ` varchar(255) NOT NULL,                                         
	private int money   ;//` long(11) NOT NULL,                                              
	private Date addtime ; // ` datetime NOT NULL,                                             
	private long adddate ;//` long(11) NOT NULL,                                              
	private String remark ; // ` varchar(255) NOT NULL,      
	private long beat ; //
	
	public long getBeat() {
		return beat;
	}
	public void setBeat(long beat) {
		this.beat = beat;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPayment() {
		return payment;
	}
	public void setPayment(String payment) {
		this.payment = payment;
	}
	public int getMoney() {
		return money;
	}
	public void setMoney(int i) {
		this.money = i;
	}
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
	public long getAdddate() {
		return adddate;
	}
	public void setAdddate(long adddate) {
		this.adddate = adddate;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int absMoney(){
		return Math.abs(this.money);
	}
}
